package org.song.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;
import org.song.model.dto.common.BaseSearchDto;


@ApiModel("博客标签实体")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@Alias("TagDto")
public class TagDto extends BaseSearchDto {

    @ApiModelProperty(value = "标签主键" , notes = "标签主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty(value = "标签名" , notes = "标签名称")
    private String tagName;

}
